/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package bus;
import java.util.List;
import pojo.Dienthoai;
import dao.DienThoaiDAO;
/**
 *
 * @author NhatTan
 */
public class DienThoaiBUS {
    public static List<Dienthoai> layDanhSachDienThoai() {
        return DienThoaiDAO.layDanhSachDienThoai();
    }

    public static boolean themDienThoai(Dienthoai dienThoai) {
        return DienThoaiDAO.themDienThoai(dienThoai);
    }

    public  static boolean capNhatDienThoai(Dienthoai dienThoai) {
        return DienThoaiDAO.capNhatDienThoai(dienThoai);
    }

    public static boolean xoaDienThoai(Dienthoai dienThoai) {
        return DienThoaiDAO.xoaDienThoai(dienThoai);
    }
}
